package com.hzw.saas.web.app.user.param;

import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author sonam
 * @since 2021/4/12 22:41
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "工作经历参数")
public class ExperienceParam  extends IdParam {

    @ApiModelProperty(value = "部门")
    private String department;

    @ApiModelProperty(value = "职位")
    private String job;

    @ApiModelProperty(value = "公司")
    private String company;

    @JsonFormat(pattern = "yyyy.MM")
    @JSONField(format = "yyyy.MM")
    @ApiModelProperty(value = "开始时间")
    private Date startDate;

    @JsonFormat(pattern = "yyyy.MM")
    @JSONField(format = "yyyy.MM")
    @ApiModelProperty(value = "结束时间")
    private Date endDate;

}
